﻿<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <h4 class="text-danger text-center">课程报名</h4>
        </div>
        <div class="modal-body text-center">
            <label>课程号</label>
            <input type="text" class="form-control text-center">
        </div>
        <div class="modal-footer">
            <a class="btn btn-primary">确认报名</a>
        </div>
    </div>
</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button class="close" data-dismiss="modal"> &times;</button>
                <h4 class="text-success">提示</h4>
            </div>
            <div class="modal-body">
                <h5>报名成功</h5>
            </div>
            <div class="modal-footer">
                <a class="btn btn-primary" data-dismiss="modal">确认</a>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button class="close" data-dismiss="modal"> &times;</button>
                <h4 class="text-danger">提示</h4>
            </div>
            <div class="modal-body">
                <h5>报名失败</h5>
            </div>
            <div class="modal-footer">
                <a class="btn btn-primary" data-dismiss="modal">确认</a>
            </div>
        </div>
    </div>
</div>
